class Test:
    a = 3

def say():
    print "Say Hello"
    
ins = Test()
ins.sayHello = say
ins.sayHello()
print ins.a
